<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="../css/denglu.css"/>
		<script src="../js/jquery-1.11.3.js"></script>
		<script src="../js/cookie.js"></script>
	</head>
	<body>
		<div id="head">
	 		<div class="w">
	 			<a href="#"><img src="../img/hd_logo.jpg"/></a>
	 			<ul>
	 				<li class="li1">你好，欢迎光临购酒网！</li>
	 				<li class="li2"><img src="../img/shezhi.jpg"><a href="#">帮助</a></li>
	 				<li class="li3"><img src="../img/kefu.jpg"><a href="#">在线客服</a></li>
	 			</ul>
	 		</div>
 		</div>
 		<div id="body">
 			<div class="w">
 				<img src="../img/liyueaoyun.jpg"/>
 				<div class="deng">
 					<p class="p1">购酒网会员登录</p>
 					<div class="zhang">
 						<input type="text" placeholder="邮箱/手机号码"/>
 					</div>
					<div class="mi">
 						<input type="text"/>
 					</div>
 					<div class="zi">
 						<input type="checkbox"/> <p class="p2">&nbsp;自动登录</p>
 						<p class="p3"><a href="#">忘记密码</a></p>
 					</div>
 					<input class="btn" type="image" src="../img/denglu.jpg"/>
 					<img src="../img/xu.jpg"/>
 					<p class="p4">使用合作帐号登录</p>
 					<div class="hezuo">
 						<img src="../img/qq.jpg"/>
 						<img src="../img/weibo.jpg"/>
 						<img src="../img/zhifubao.jpg"/>
 						<img src="../img/xing.jpg"/>
 						<img src="../img/renren.jpg"/>
 						
 					</div>
 				</div>
 				<input class="btn1" type="image" src="../img/xinzhanghao.jpg"/>
 			</div>
 			<ul class="b2">
 				<li><a href="#">关于我们</a></li>
 				<li><a href="#">联系我们</a></li>
 				<li><a href="#">人才招聘</a></li>
 				<li><a href="#">隐私声明</a></li>
 				<li><a href="#">帮助中心</a></li>
 				<li class="b21"><a href="#">友情链接</a></li>
 			</ul>
 			<div class="box">Copyright©2009-2013 gjw.com, All Rights Reserved 上海购酒网电子商务有限公司 版权所有</div>
 		</div>
	</body>
	<script>
		$(function(){
			$('.btn').click(function(){
				var name=$('.zhang input').val();
				var pass=$('.mi input').val();
				if(name==getCookie('name')&&pass==getCookie('pass')){
					alert('登录成功')
					setCookie('a',true)
					window.location.href="../index.html"
				}else{
					alert('登录失败')
					setCookie('a',false)
				}
			})
			$('.btn1').click(function(){
				window.location.href="zhuce.html"
			})
		})
	</script>
</html>
